<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/9/8
  Time: 12:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="for" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h2>学生登录</h2>
    <form:form modelAttribute="student2" action="${pageContext.request.contextPath}/validate/login" method="post">
        学生姓名：<form:input path="name"></form:input><form:errors path="name" ></form:errors><br>
        学生密码：<form:input path="password"></form:input><form:errors path="password"></form:errors><br>
        <input type="submit" value="提交">
    </form:form>
</body>
</html>
